package com.yx.system.service.impl;

import com.yx.system.dao.SysHanwuBookDao;
import com.yx.system.entity.SysHanwuBook;
import com.yx.system.service.SysHanwuBookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class SysHanwuBookServiceImpl implements SysHanwuBookService {
	@Autowired
	private SysHanwuBookDao hanwuBookDao;
	
	@Override
	public SysHanwuBook queryObject(Integer id){
		return hanwuBookDao.queryObject(id);
	}
	
	@Override
	public List<SysHanwuBook> queryList(Map<String, Object> map){
		return hanwuBookDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hanwuBookDao.queryTotal(map);
	}
	
	@Override
	public void save(SysHanwuBook hanwuBook){
		hanwuBookDao.save(hanwuBook);
	}
	
	@Override
	public void update(SysHanwuBook hanwuBook){
		hanwuBookDao.update(hanwuBook);
	}
	
	@Override
	public void delete(Integer id){
		hanwuBookDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		hanwuBookDao.deleteBatch(ids);
	}

	@Override
	public List<SysHanwuBook> findAll() {
		return hanwuBookDao.findAll();
	}

}
